Circuits for mobile ecg system

ABSTRACT

A mobile ECG system includes: a multiplexor, the multiplexor comprising an input port connected with a plurality of electrodes, two output ports, and a control port; a digital detection module being connected with one output port of the multiplexor; an analog detection module being connected with the other output port of the multiplexor and configured to detect a heart beat without utilizing any portion of the digital detection module; and a processor being connected with the control port of the multiplexor and configured to receive an electrical signal and control the multiplexor through the control port to selectively transmit output of all of the electrodes to the analog detection module or the digital detection module based on the electrical signal.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims the benefit of US non-provisional patentapplication Ser. No. 16/026,010 filed on Jul. 2, 2018; the contents ofwhich is hereby incorporated by reference.

FIELD OF THE PATENT APPLICATION

The present patent application generally relates to medical electronicsand more specifically to a mobile ECG (electrocardiogram) system.

BACKGROUND

An ECG (electrocardiogram) system is a widely applied medicalexamination and monitoring instrument that produces an electrocardiogram(ECG) waveform. A typical ECG waveform includes a series ofcharacteristic points designated by the letters P, Q, R, S, and T. TheQ, R, and S portions of the wave when taken together are referred to asa “QRS complex”. The R-wave of the QRS complex is the most prominentportion in each cardiac cycle of an ECG signal. In various ECGapplications, it is crucial for the ECG system to accurately determinethe timing of R-wave peaks.

A conventional ECG system includes an analog frontend circuit, an ADCand a digital signal processor to carry out the task of determiningR-wave peaks. Typically, the ADC and the digital signal processorconsume a great amount of power, which is often many times of the powerconsumed by the analog frontend circuit. Relatively large powerconsumption and considerable complexity of the circuit makes such an ECGsystem not suitable to be worn by a user so as to constantly examine andmonitor heart conditions of the user.

On the other hand, to reduce system power consumption, the ADC and thedigital signal processor are eliminated in some mobile ECG systems, sothat the determination of ECG are solely relied on pure analog circuits.However, when there are a lot of noises present in the signal acquiredby the ECG system, for example, when the person being tested is inmotion, it is difficult for pure analog circuits to accurately determineECG, which therefore greatly limits the application scenarios of suchmobile ECG systems.

SUMMARY

The present patent application is directed to a mobile ECG system. Inone aspect, the mobile ECG system includes: a processor; a plurality ofelectrodes; a multiplexor, the multiplexor comprising an input portconnected with the electrodes, two output ports, and a control port; adigital detection module being connected with one output port of themultiplexor and configured to detect a heart beat through a digitalcircuit; an analog detection module being connected with the otheroutput port of the multiplexor and configured to detect a heart beatwithout utilizing any portion of the digital detection module; and amotion detection module, connected with the processor and configured todetect acceleration of the mobile ECG system and output an electricalsignal accordingly. The processor is configured to receive theelectrical signal from the motion detection module, and control themultiplexor through the control port to selectively transmit output ofall of the electrodes to the analog detection module or the digitaldetection module based on the electrical signal.

The processor may be configured to compare the voltage value to apredetermined value; if the voltage value is less than the predeterminedvalue, the processor is configured to control the multiplexor totransmit the output of the electrodes to the analog detection module; ifthe voltage value is equal to or greater than the predetermined value,the processor is configured to control the multiplexor to transmit theoutput of the electrodes to the digital detection module.

The analog detection module may include: a first amplifier configured toreceive and amplify ECG signals from a plurality of electrodes; a secondamplifier connected with the first amplifier, and configured to amplifyoutput of the first amplifier in a first bandwidth; a third amplifierconnected with the first amplifier, and configured to amplify output ofthe first amplifier in a second bandwidth; a voltage adder connectedwith the third amplifier, and configured to output sum of output voltageof the third amplifier and a calibration voltage; a comparator connectedwith the second amplifier and the voltage adder, and configured tocompare output of the second amplifier and output of the voltage adder,and output a signal accordingly; and a calibration voltage generatorconnected with output of the comparator, and configured to generate thecalibration voltage according to the output of the comparator. Thecalibration voltage generator may be configured to vary the calibrationvoltage until the output of the comparator meets a predeterminedrequirement.

The first bandwidth of the second amplifier may include a frequencyrange of QRS complex of an ECG signal, while the second bandwidth of thethird amplifier may be in a lower frequency range than the firstbandwidth. The second bandwidth may include only frequencies of baselinedrifts.

The calibration voltage generator may be configured to sweep thecalibration voltage from zero to a predetermined maximum value until theoutput of the comparator meets a requirement of being a pulse withperiods in the range of human heart beat intervals, the variation of theperiods being smaller than a predetermined threshold.

The calibration voltage generator may be configured to sweep thecalibration voltage until the output of the comparator meets therequirement for a predetermined number of cycles.

The mobile ECG system may further include an alarming module. After thepredetermined number of cycles of sweeping the calibration voltage, ifthe output of the comparator fails to meet the requirement, the alarmingmodule may be configured to transmit an alert to the user.

The digital detection module may include a fourth amplifier; a fifthamplifier being connected with the fourth amplifier; an ADC beingconnected with the fifth amplifier; and a digital signal processingcircuit being connected with the ADC. The digital signal processingcircuit and the ADC may be respectively connected with the processor.

The fourth amplifier may have a gain of 30 dB-36 dB, while the fifthamplifier may have a gain of 18 dB-25 dB.

The digital signal processing circuit may include a first filter; asecond filter; a third filter, the second and the third filters beingrespectively connected with the first filter; a waveform buffer beingconnected with the first, second and third filters respectively; and amaximum value searcher being connected with the second and the thirdfilters and the processor respectively.

The first filter may be a QSWT (Quadratic Spline Wavelet) filterconfigured to filter baseline shift of the mobile ECG system and humancaused noise. The second and the third filters may be respectivelyconfigured to execute STAC (Short-term Autocorrelation) algorithm so asto filter myoelectric noise and noise caused by motion of theelectrodes.

The QSWT filter may include multiple adders and multiple shiftoperators, while the second and the third filters respectively mayinclude a correlation coefficient buffer, the correlation coefficientbuffers of the second and the third filters being respectivelysynchronized with the ADC.

The second and the third filters may be configured to executecomputation in an alternating fashion, the computing time of which areoverlapped by a predetermined period.

In another aspect, the mobile ECG system includes: a processor; amultiplexor, the multiplexor comprising an input port connected with aplurality of electrodes, two output ports, and a control port; a digitaldetection module being connected with the one output port of themultiplexor and configured to detect a heart beat through a digitalcircuit; an analog detection module being connected with the otheroutput port of the multiplexor and configured to detect a heart beatwithout utilizing any portion of the digital detection module; and amotion detection module, connected with the processor and configured todetect acceleration of the mobile ECG system and output an electricalsignal accordingly. The processor is configured to receive theelectrical signal from the motion detection module, and control themultiplexor through the control port to selectively transmit output ofall of the electrodes to the analog detection module or the digitaldetection module based on the electrical signal.

The processor may be configured to compare the voltage value to apredetermined value; if the voltage value is less than the predeterminedvalue, the processor is configured to control the multiplexor totransmit the output of the electrodes to the analog detection module; ifthe voltage value is equal to or greater than the predetermined value,the processor is configured to control the multiplexor to transmit theoutput of the electrodes to the digital detection module.

The analog detection module may include: a first amplifier configured toreceive and amplify ECG signals from a plurality of electrodes; a secondamplifier connected with the first amplifier, and configured to amplifyoutput of the first amplifier in a first bandwidth; a third amplifierconnected with the first amplifier, and configured to amplify output ofthe first amplifier in a second bandwidth; a voltage adder connectedwith the third amplifier, and configured to output sum of output voltageof the third amplifier and a calibration voltage; a comparator connectedwith the second amplifier and the voltage adder, and configured tocompare output of the second amplifier and output of the voltage adder,and output a signal accordingly; and a calibration voltage generatorconnected with output of the comparator, and configured to generate thecalibration voltage according to the output of the comparator. Thecalibration voltage generator may be configured to vary the calibrationvoltage until the output of the comparator meets a predeterminedrequirement.

The calibration voltage generator may be configured to sweep thecalibration voltage from zero to a predetermined maximum value until theoutput of the comparator meets a requirement of being a pulse withperiods in the range of human heart beat intervals, the variation of theperiods being smaller than a predetermined threshold.

In yet another aspect, the mobile ECG system includes: a multiplexor,the multiplexor comprising an input port connected with a plurality ofelectrodes, two output ports, and a control port; a digital detectionmodule being connected with one output port of the multiplexor; ananalog detection module being connected with the other output port ofthe multiplexor and configured to detect a heart beat without utilizingany portion of the digital detection module; and a processor beingconnected with the control port of the multiplexor and configured toreceive an electrical signal and control the multiplexor through thecontrol port to selectively transmit output of all of the electrodes tothe analog detection module or the digital detection module based on theelectrical signal.

The mobile ECG system may further include a motion detection module. Themotion detection module may be connected with the processor andconfigured to detect acceleration of the mobile ECG system and outputthe electrical signal accordingly.

The analog detection module may include: a first amplifier configured toreceive and amplify ECG signals from a plurality of electrodes; a secondamplifier connected with the first amplifier, and configured to amplifyoutput of the first amplifier in a first bandwidth; a third amplifierconnected with the first amplifier, and configured to amplify output ofthe first amplifier in a second bandwidth; a voltage adder connectedwith the third amplifier, and configured to output sum of output voltageof the third amplifier and a calibration voltage; a comparator connectedwith the second amplifier and the voltage adder, and configured tocompare output of the second amplifier and output of the voltage adder,and output a signal accordingly; and a calibration voltage generatorconnected with output of the comparator, and configured to generate thecalibration voltage according to the output of the comparator. Thecalibration voltage generator may be configured to vary the calibrationvoltage until the output of the comparator meets a predeterminedrequirement.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of a mobile ECG system in accordance with anembodiment of the present patent application.

FIG. 2 is a block diagram of an analog detection module in the mobileECG system depicted in FIG. 1.

FIG. 3 illustrate different voltage levels with respect to an ECGsignal.

FIG. 4 is a block diagram of a digital detection module in the mobileECG system depicted in FIG. 1.

FIG. 5 is a block diagram of a digital signal processing circuit in thedigital detection module depicted in FIG. 4.

DETAILED DESCRIPTION

Reference will now be made in detail to a preferred embodiment of themobile ECG system disclosed in the present patent application, examplesof which are also provided in the following description. Exemplaryembodiments of the mobile ECG system disclosed in the present patentapplication are described in detail, although it will be apparent tothose skilled in the relevant art that some features that are notparticularly important to an understanding of the mobile ECG system maynot be shown for the sake of clarity.

Furthermore, it should be understood that the mobile ECG systemdisclosed in the present patent application is not limited to theprecise embodiments described below and that various changes andmodifications thereof may be effected by one skilled in the art withoutdeparting from the spirit or scope of the protection. For example,elements and/or features of different illustrative embodiments may becombined with each other and/or substituted for each other within thescope of this disclosure.

FIG. 1 is a block diagram of a mobile ECG system in accordance with anembodiment of the present patent application. Referring to FIG. 1, themobile ECG system includes a number of electrodes 11; a multiplexor 13that includes an input port, two output ports, and a control port, theinput port of the multiplexor 13 being connected with the electrodes 11;an analog detection module 19 being connected with one output port ofthe multiplexor 13; a digital detection module 21 being connected withthe other output port of the multiplexor 13; a processor 17 connectedwith the control port of the multiplexor 13 and the digital detectionmodule 21; and a motion detection module 15, connected with theprocessor 17 and configured to detect acceleration of the mobile ECGsystem and output an electrical signal accordingly. The processor 17 isconfigured to receive the electrical signal from the motion detectionmodule 15, and control the multiplexor 13 to selectively transmit outputof the electrodes 11 to the analog detection module 19 or the digitaldetection module 21 based on the electrical signal.

More specifically, the electrical signal is a voltage value thatindicates the acceleration of the mobile ECG system. The processor 17 isconfigured to compare the voltage value to a predetermined value. If thevoltage value is less than the predetermined value, it means theacceleration of the mobile ECG system is relatively low, and theprocessor 17 is configured to control the multiplexor 13 to transmit theoutput of the electrodes 11 to the analog detection module 19, so thatthe analog detection module 19 is configured to execute the detection ofECG signals. If the voltage value is equal to or greater than thepredetermined value, it means the acceleration of the mobile ECG systemis relatively high, and the processor 17 is configured to control themultiplexor 13 to transmit the output of the electrodes 11 to thedigital detection module 21, so that the digital detection module 21 isconfigured to execute the detection of ECG signals.

FIG. 2 is a block diagram of the analog detection module 19 in themobile ECG system depicted in FIG. 1. Referring to FIG. 2, the analogdetection module 19 includes a first amplifier 101 configured to receiveand amplify ECG signals from a plurality of electrodes; a secondamplifier 103 connected with the first amplifier 101, and configured toamplify output of the first amplifier 101 in a first bandwidth; a thirdamplifier 105 connected with the first amplifier 101, and configured toamplify output of the first amplifier 101 in a second bandwidth; avoltage adder 107 connected with the third amplifier 105, and configuredto output sum of output voltage of the third amplifier 105 and acalibration voltage V_(cal); a comparator 109 connected with the secondamplifier 103 and the voltage adder 107, and configured to compareoutput of the second amplifier 103 and output of the voltage adder 107,and output a signal V_(o) accordingly; and a calibration voltagegenerator 111 connected with output of the comparator 109, andconfigured to generate the calibration voltage V_(cal) according to theoutput of the comparator 109.

The first bandwidth of the second amplifier 103 includes the frequencyrange of QRS complex of an ECG signal, while the second bandwidth of thethird amplifier 105 is in a lower frequency range than the firstbandwidth, including only frequencies of baseline drifts, which may becaused by motion of the user being examined, or by change of theoperating environment of the system. The gain of the second amplifier103 is equal to the gain of the third amplifier 105.

In this embodiment, the first amplifier 101 is a programmable gainamplifier. Preferably, the programmable gain amplifier is a low noiseamplifier. The second amplifier 103 and the third amplifier 105 eachinclude a two stage Miller-compensated operational amplifier. Thevoltage adder 107 is implemented by a switched capacitor network. Thecomparator 109 is a dynamic latched comparator, which consumes poweronly when latching.

In operation, the first amplifier 101 receives ECG signals from a numberof electrodes, amplifies the signals and sends the amplified signals tothe second amplifier 103 and the third amplifier 105. Because of theabove configuration of the bandwidths of the second amplifier 103 andthe third amplifier 105, the output of the second amplifier 103 containsthe QRS complex voltage V_(Q), while the output of the third amplifier105 contains the baseline drifts voltage V_(B). The voltage adder 107adds the output of the third amplifier 105 and the calibration voltageV_(cal), and output (V_(B)+V_(cal)) to the comparator 109.

FIG. 3 illustrate different voltage levels with respect to an ECGsignal. Referring to FIGS. 2 and 3, the comparator 109 is configured tocompare the QRS complex voltage V_(Q) and (V_(B)+V_(cal)). IfV_(Q)>(V_(B)+V_(cal)), the comparator 109 is configured to output a highvoltage that corresponds to digital “1”; otherwise, the comparator 109is configured to output a low voltage that corresponds to digital “0”.If V_(cal) is chosen appropriately, when the comparator 109 outputs adigital “1”, a heartbeat is detected. It can be seen that in order forthe system to detect heart beats correctly, V_(cal) should be chosen sothat (V_(B)+V_(cal)) is above the peak of T-wave 201, but below the peakof R-wave 203.

In this embodiment, the calibration voltage generator 111 is configuredto vary the calibration voltage V_(cal)until the output of thecomparator 109 meets a predetermined set of requirements. Morespecifically, the calibration voltage generator 111 is configured tosweep the calibration voltage V_(cal) from zero to a predeterminedmaximum value until the output voltage of the comparator 109 V_(o)becomes a pulse with periods in the range of human heart beat intervals,and the variation of the periods is smaller than a predeterminedthreshold. The above calibration process may be repeated by apredetermined number of cycles at the beginning of an examination of auser. The calibration voltage generator 111, which may be controlled bya microcontroller, which is powered off after the calibration cycles arecompleted.

During examination of the user, the microcontroller may be configured tocontrol the calibration voltage generator 111 to vary and calibrate thecalibration voltage V_(cal) again, if the output of the comparator 109V_(o) doesn't meet the above predetermined set of requirements. Suchsituation may be caused by, for example, that the user being examinedmoves the system accidentally with respect to his/her body, or there arechanges on the system's operating environment. More specifically, ifV_(o) is no longer a pulse with periods in the range of human heart beatintervals, or if the variation of the periods is smaller than thepredetermined threshold, the calibration voltage generator 111 isconfigured to vary and calibrate the calibration voltage V_(cal) again.

At the beginning of the examination or in the middle of the examination,if the output of the comparator 109 V_(o) not meeting the abovepredetermined requirements is caused by irregular R-waves of the user,the calibration process will fail to complete. After a predeterminednumber of cycles of sweeping the calibration voltage V_(cal), if therequirements are still not met, the system is configured to transmit analert to the user, indicating detection of possible heart problems suchas arrhythmia of the user. In this embodiment, the predetermined numberof cycles of sweeping the calibration voltage V_(cal) is 10. It is notedthat, in an embodiment, the system further includes an alarming module(not shown in FIG. 1). The alarming module is configured to transmit thealert to the user.

In the process of the analog detection module 19 detecting the ECG, bothADC and digital signal processor are not required to accuratelydetermine the timing of R-wave peaks. Both power consumption and circuitcomplexity of the system are greatly reduced. The whole mobile ECGsystem can be integrated onto an ASIC chip. Therefore the mobile ECGsystem is particularly suitable to be worn by a user and used to monitorthe user's heart condition in real time. However, when the person beingexamined is in motion, the acceleration of the mobile ECG system mayreach or be higher than the predetermined value. If the analog detectionmodule 19 is continued to be used to acquire the ECG data, relativelylarge errors may present in the test results. Therefore, when thiscondition is detected, the processor 17 is configured to control themultiplexor 13 to transmit electrical signals from the electrodes 11 tothe digital detection module 21, which is configured to execute moreaccurate detection.

FIG. 4 is a block diagram of the digital detection module 21 in themobile ECG system depicted in FIG. 1. Referring to FIG. 4, the digitaldetection module 21 includes a fourth amplifier 501; a fifth amplifier503 being connected with the fourth amplifier 501; an ADC 505 beingconnected with the fifth amplifier 503; and a digital signal processingcircuit 507 being connected with the ADC 505. The digital signalprocessing circuit 507 and the ADC 505 are respectively connected withthe processor 17. In this embodiment, preferably, the fourth amplifier501 has a gain of 30 dB-36 dB. The fifth amplifier has a gain of 18dB-25 dB.

FIG. 5 is a block diagram of the digital signal processing circuit 507in the digital detection module 21 depicted in FIG. 4. Referring to FIG.5, the digital signal processing circuit 507 includes a first filter601; a second filter 603; a third filter 605, the second and the thirdfilters 603 and 605 are respectively connected with the first filter601; a waveform buffer 607 being connected with the first, second andthird filters 601, 603 and 605 respectively; and a maximum valuesearcher 609 being connected with the second and the third filters 603and 605, and the processor 17 respectively.

In this embodiment, the first filter 601 is a QSWT (Quadratic SplineWavelet) filter being configured to filter baseline shift of the systemand human caused noise. The QSWT filter 601 includes multiple adders andmultiple shift operators. The amount of computing executed by the QSWTfilter 601 is relatively small, and thus the power consumption of theQSWT filer 601 is relatively low.

The second and the third filters 603 and 605 are respectively configuredto execute STAC (Short-term Autocorrelation) algorithm so as to filtermyoelectric noise and noise caused by motion of the electrodes. Thesecond and the third filters 603 and 605 respectively include acorrelation coefficient buffer. The correlation coefficient buffers ofthe second and the third filters 603 and 605 are respectivelysynchronized with the ADC 505. In this embodiment, the second and thethird filters 603 and 605 are configured to execute computation in analternating fashion, the computing time of which are overlapped by apredetermined period. Preferably, the updating period of the maximumvalue searcher 609 is 1 second, while the predetermined period is 0.5second. The above-mentioned configuration decreases the operationalfrequency to execute STAC computation, which can even be made lower thanthe clock frequency, so that power consumption of the system is furtherlowered.

In the mobile ECG system provided by the above embodiments, when themotion detection module 15 detects that the current acceleration of thesystem is relatively low, the processor 17 controls the analog detectionmodule 19 to execute the detection of ECG signals. The complexity andthe power consumption of the analog detection module 19 are bothrelatively low, which keeps the power consumption of the whole system ata relatively low level for many application scenarios. When the motiondetection module 15 detects that the current acceleration of the systemis relatively high, the processor 17 controls the digital detectionmodule 21 to execute the detection of ECG signals. The digital detectionmodule 21 deploys QSWT filters and STAC algorithm and is capable ofeffectively filter out baseline shifting, human noise, myoelectric noiseand noise cause by the motion of the electrodes. At the same time, thesecond and the third filters 603 and 605 compute in an alternatingfashion, the computing time of which have an overlap of a time period ofpredetermined length, which decreases the operating frequency for STACcomputation to be even lower than the clock frequency of the system, soas to further reduce the power consumption of the system. As a result,the mobile ECG system provided by the above embodiment can ensureaccurate detection of ECG data while keeping the overall powerconsumption relatively low, so as to meet requirements of wearable andmobile applications.

While the present patent application has been shown and described withparticular references to a number of embodiments thereof, it should benoted that various other changes or modifications may be made withoutdeparting from the scope of the present invention.

What is claimed is:
 1. A mobile ECG system comprising: a processor; aplurality of electrodes; a multiplexor, the multiplexor comprising aninput port connected with the electrodes, two output ports, and acontrol port; a digital detection module being connected with one outputport of the multiplexor and configured to detect a heart beat through adigital circuit; an analog detection module being connected with theother output port of the multiplexor and configured to detect a heartbeat without utilizing any portion of the digital detection module; anda motion detection module, connected with the processor and configuredto detect acceleration of the mobile ECG system and output an electricalsignal accordingly; wherein: the processor is configured to receive theelectrical signal from the motion detection module, and control themultiplexor through the control port to selectively transmit output ofall of the electrodes to the analog detection module or the digitaldetection module based on the electrical signal.
 2. The mobile ECGsystem of claim 1, wherein the processor is configured to compare thevoltage value to a predetermined value; if the voltage value is lessthan the predetermined value, the processor is configured to control themultiplexor to transmit the output of the electrodes to the analogdetection module; if the voltage value is equal to or greater than thepredetermined value, the processor is configured to control themultiplexor to transmit the output of the electrodes to the digitaldetection module.
 3. The mobile ECG system of claim 1, wherein theanalog detection module comprises: a first amplifier configured toreceive and amplify ECG signals from a plurality of electrodes; a secondamplifier connected with the first amplifier, and configured to amplifyoutput of the first amplifier in a first bandwidth; a third amplifierconnected with the first amplifier, and configured to amplify output ofthe first amplifier in a second bandwidth; a voltage adder connectedwith the third amplifier, and configured to output sum of output voltageof the third amplifier and a calibration voltage; a comparator connectedwith the second amplifier and the voltage adder, and configured tocompare output of the second amplifier and output of the voltage adder,and output a signal accordingly; and a calibration voltage generatorconnected with output of the comparator, and configured to generate thecalibration voltage according to the output of the comparator; thecalibration voltage generator is configured to vary the calibrationvoltage until the output of the comparator meets a predeterminedrequirement.
 4. The mobile ECG system of claim 3, wherein the firstbandwidth of the second amplifier comprises a frequency range of QRScomplex of an ECG signal, while the second bandwidth of the thirdamplifier is in a lower frequency range than the first bandwidth, thesecond bandwidth comprising only frequencies of baseline drifts.
 5. Themobile ECG system of claim 3, wherein the calibration voltage generatoris configured to sweep the calibration voltage from zero to apredetermined maximum value until the output of the comparator meets arequirement of being a pulse with periods in the range of human heartbeat intervals, the variation of the periods being smaller than apredetermined threshold.
 6. The mobile ECG system of claim 5, whereinthe calibration voltage generator is configured to sweep the calibrationvoltage until the output of the comparator meets the requirement for apredetermined number of cycles.
 7. The mobile ECG system of claim 5further comprising an alarming module, wherein after the predeterminednumber of cycles of sweeping the calibration voltage, if the output ofthe comparator fails to meet the requirement, the alarming module isconfigured to transmit an alert to the user.
 8. The mobile ECG system ofclaim 1, wherein the digital detection module comprises a fourthamplifier; a fifth amplifier being connected with the fourth amplifier;an ADC being connected with the fifth amplifier; and a digital signalprocessing circuit being connected with the ADC; the digital signalprocessing circuit and the ADC are respectively connected with theprocessor.
 9. The mobile ECG system of claim 8, wherein the fourthamplifier has a gain of 30 dB-36 dB, while the fifth amplifier has again of 18 dB-25 dB.
 10. The mobile ECG system of claim 8, wherein thedigital signal processing circuit comprises a first filter; a secondfilter; a third filter, the second and the third filters beingrespectively connected with the first filter; a waveform buffer beingconnected with the first, second and third filters respectively; and amaximum value searcher being connected with the second and the thirdfilters and the processor respectively.
 11. The mobile ECG system ofclaim 10, wherein the first filter is a QSWT (Quadratic Spline Wavelet)filter configured to filter baseline shift of the mobile ECG system andhuman caused noise; the second and the third filters are respectivelyconfigured to execute STAC (Short-term Autocorrelation) algorithm so asto filter myoelectric noise and noise caused by motion of theelectrodes.
 12. The mobile ECG system of claim 11, wherein the QSWTfilter comprises multiple adders and multiple shift operators, while thesecond and the third filters respectively comprise a correlationcoefficient buffer, the correlation coefficient buffers of the secondand the third filters being respectively synchronized with the ADC. 13.The mobile ECG system of claim 10, wherein the second and the thirdfilters are configured to execute computation in an alternating fashion,the computing time of which are overlapped by a predetermined period.14. A mobile ECG system comprising: a processor; a multiplexor, themultiplexor comprising an input port connected with a plurality ofelectrodes, two output ports, and a control port; a digital detectionmodule being connected with the one output port of the multiplexor andconfigured to detect a heart beat through a digital circuit; an analogdetection module being connected with the other output port of themultiplexor and configured to detect a heart beat without utilizing anyportion of the digital detection module; and a motion detection module,connected with the processor and configured to detect acceleration ofthe mobile ECG system and output an electrical signal accordingly;wherein: the processor is configured to receive the electrical signalfrom the motion detection module, and control the multiplexor throughthe control port to selectively transmit output of all of the electrodesto the analog detection module or the digital detection module based onthe electrical signal.
 15. The mobile ECG system of claim 14, whereinthe processor is configured to compare the voltage value to apredetermined value; if the voltage value is less than the predeterminedvalue, the processor is configured to control the multiplexor totransmit the output of the electrodes to the analog detection module; ifthe voltage value is equal to or greater than the predetermined value,the processor is configured to control the multiplexor to transmit theoutput of the electrodes to the digital detection module.
 16. The mobileECG system of claim 14, wherein the analog detection module comprises: afirst amplifier configured to receive and amplify ECG signals from aplurality of electrodes; a second amplifier connected with the firstamplifier, and configured to amplify output of the first amplifier in afirst bandwidth; a third amplifier connected with the first amplifier,and configured to amplify output of the first amplifier in a secondbandwidth; a voltage adder connected with the third amplifier, andconfigured to output sum of output voltage of the third amplifier and acalibration voltage; a comparator connected with the second amplifierand the voltage adder, and configured to compare output of the secondamplifier and output of the voltage adder, and output a signalaccordingly; and a calibration voltage generator connected with outputof the comparator, and configured to generate the calibration voltageaccording to the output of the comparator; the calibration voltagegenerator is configured to vary the calibration voltage until the outputof the comparator meets a predetermined requirement.
 17. The mobile ECGsystem of claim 16, wherein the calibration voltage generator isconfigured to sweep the calibration voltage from zero to a predeterminedmaximum value until the output of the comparator meets a requirement ofbeing a pulse with periods in the range of human heart beat intervals,the variation of the periods being smaller than a predeterminedthreshold.
 18. A mobile ECG system comprising: a multiplexor, themultiplexor comprising an input port connected with a plurality ofelectrodes, two output ports, and a control port; a digital detectionmodule being connected with one output port of the multiplexor; ananalog detection module being connected with the other output port ofthe multiplexor and configured to detect a heart beat without utilizingany portion of the digital detection module; and a processor beingconnected with the control port of the multiplexor and configured toreceive an electrical signal and control the multiplexor through thecontrol port to selectively transmit output of all of the electrodes tothe analog detection module or the digital detection module based on theelectrical signal.
 19. The mobile ECG system of claim 18 furthercomprising a motion detection module, wherein the motion detectionmodule is connected with the processor and configured to detectacceleration of the mobile ECG system and output the electrical signalaccordingly.
 20. The mobile ECG system of claim 19, wherein the analogdetection module comprises: a first amplifier configured to receive andamplify ECG signals from a plurality of electrodes; a second amplifierconnected with the first amplifier, and configured to amplify output ofthe first amplifier in a first bandwidth; a third amplifier connectedwith the first amplifier, and configured to amplify output of the firstamplifier in a second bandwidth; a voltage adder connected with thethird amplifier, and configured to output sum of output voltage of thethird amplifier and a calibration voltage; a comparator connected withthe second amplifier and the voltage adder, and configured to compareoutput of the second amplifier and output of the voltage adder, andoutput a signal accordingly; and a calibration voltage generatorconnected with output of the comparator, and configured to generate thecalibration voltage according to the output of the comparator; thecalibration voltage generator is configured to vary the calibrationvoltage until the output of the comparator meets a predeterminedrequirement.